package com.lqq.designPattern.structural_pattern.adapter.classAdapter;

//computer
public class Computer {
    //从SD卡中读取数据
    public String readSD(SDCard sdCard) {
        if (sdCard == null) {
            throw new NullPointerException("SDCard不能为空！");
        }
        return sdCard.readSD();
    }
}
